package com.kanshu.constant;
/**
 * @author GAIst
 * ClassName OnlineType.java
 * From
 * Description OK
 * createTime 2024年12月20日14:32:26
 */
public class OnlineType {
    private String OUTPUT_TEXT_SERVERERROR = "服务器故障，请重试！";
    private String OUTPUT_TEXT_ERROR = "系统存在错误，服务终止！";
    private String OUTPUT_TEXT_INVALIDINPUT = "你的输入有误，请重新输入！";
    private String OUTPUT_SIGN_ASTERISK = "**********************************************\n";
    private String OUTPUT_SIGN_BEGINLINE = "当前阅读：《%1$s》";
    private String OUTPUT_SIGN_ENDLINE = "\n......，省略内容请下载后阅读\n";
    private String OUTPUT_TEXT_SELECTLIST = "继续显示列表请输入1，下载TXT请输入2：";
    private String OUTPUT_TEXT_FILENOTFOUND = "文件未找到，可能已被删除！";
    private String OUTPUT_TEXT_FILECANNOTREAD = "文件读取错误，预览失败！";
    private StringBuilder MENU_TEXT_SORT_BEGIN = new StringBuilder(
            OUTPUT_SIGN_ASTERISK).append(OUTPUT_SIGN_BEGINLINE);
    private StringBuilder MENU_TEXT_SORT_END = new StringBuilder(
            OUTPUT_SIGN_ENDLINE).append(OUTPUT_SIGN_ASTERISK).append(
            OUTPUT_TEXT_SELECTLIST);

    public String getOUTPUT_TEXT_SERVERERROR() {
        return OUTPUT_TEXT_SERVERERROR;
    }

    public String getOUTPUT_TEXT_ERROR() {
        return OUTPUT_TEXT_ERROR;
    }

    public String getOUTPUT_TEXT_INVALIDINPUT() {
        return OUTPUT_TEXT_INVALIDINPUT;
    }

    public String getOUTPUT_SIGN_ASTERISK() {
        return OUTPUT_SIGN_ASTERISK;
    }

    public String getOUTPUT_SIGN_BEGINLINE(String title) {
        return String.format(OUTPUT_SIGN_BEGINLINE,title);
    }

    public String getOUTPUT_SIGN_ENDLINE() {
        return OUTPUT_SIGN_ENDLINE;
    }

    public String getOUTPUT_TEXT_SELECTLIST() {
        return OUTPUT_TEXT_SELECTLIST;
    }

    public String getOUTPUT_TEXT_FILENOTFOUND() {
        return OUTPUT_TEXT_FILENOTFOUND;
    }

    public String getOUTPUT_TEXT_FILECANNOTREAD() {
        return OUTPUT_TEXT_FILECANNOTREAD;
    }

    public StringBuilder getMENU_TEXT_SORT_BEGIN() {
        return MENU_TEXT_SORT_BEGIN;
    }

    public StringBuilder getMENU_TEXT_SORT_END() {
        return MENU_TEXT_SORT_END;
    }
}
